package day040625;

public class Test4 {
    public static void main(String[] args) {
        //1.成绩
        double  score=86.9;
        //2.用 if-else if-else if-else
        if(0<=score  &&  score<60){
            System.out.println("您的成绩不及格");
        }else if(60<=score  &&  score<75){
            System.out.println("您的成绩等级为中等");
        }else if(75<=score  &&  score<85){
            System.out.println("您的成绩等级为良好");
        }else if(85<=score  &&  score<=100){
            System.out.println("您的成绩等级为优秀");
        }else{//score<0  ||  sore>100
            System.out.println("您输入的成绩无效");
        }
    }
}








